package com.niiwoo.civet.trade.dto.common;

import com.niiwoo.civet.base.enums.CommonResultEnum;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 还款/垫付 交易解冻结果对象
 * Created by wangjichao on 2018/4/25.
 */
@Getter
@Setter
public class RefundUnfreezeResultMsgDTO implements Serializable {

    private static final long serialVersionUID = 5650985595751994917L;
    /**
     * 交易中心订单ID
     */
    private Long orderId;

    /**
     * 解冻流水号
     */
    private String unfreezeRequestNo;

    /**
     * 解冻结果
     */
    private CommonResultEnum freezeResult;

    /**
     * 解冻金额
     */
    private BigDecimal amount;

    /**
     * 存管错误信息
     */
    private String errorMessage;

    /**
     * 存管错误代码
     */
    private String errorCode;
}
